package com.wujing.abstractdemo


/**
 * 抽象类
 */
object AbsticDemo02 {



}

abstract class Animal02{
  def sayHello()

  var foot:String

}
class Cat extends Animal02 {
  override var foot: String = _

  override def sayHello(): Unit = {
    println("cat ")
  }
}